Release 10.1A: OpenEdge Development:
Internationalizing Applications
OpenEdge support for multi-byte code pages
Table 8–6 lists the multi-byte code pages OpenEdge supports.
Note: The Thai language is also supported, by code page 620-2533. This is a single-byte code page for which some of the codepoints are combining characters. A single column could consist of up to three 620-2533 codepoints; however, it is not a multi-byte code page consisting of lead-byte and trail-byte combinations.
Additional GB18030 code page considerations
When working with the GB18030 code page, consider the following:
- The GB18030 code page is a multi-byte code page, consisting of one-, two-, and four-byte characters, that extends the GB2312 code page and includes all characters defined in Unicode. Unlike most multi-byte code pages that OpenEdge supports, you cannot use the lead byte of multi-byte characters in the GB18030 code page to determine the character's length. Progress uses the International Components for Unicode (ICU) library to convert characters between the GB18030 code page and Unicode within the OpenEdge GUI client.
- Progress supports the GB18030 code page, primarily, for file input and output. More specifically, you can use the GB18030 code page:
- In settings for the
-cpstream,-cplog, and-cpprintstartup parameters.- With any 4GL
CONVERT SOURCE/TARGETphrase that applies to files. For example:
- With the
ASC,CHR, andCODEPAGE-CONVERTfunctions (but if used as the target code page ofCHRorCODEPAGE-CONVERT, you cannot use the resulting character or character string in the 4GL).- With file input and output in the SQL products.
You cannot use the GB18030 code page:
- In other 4GL statements (not listed above).
- As a CLOB or LONGCHAR code page.
- In settings for the
-cpinternal,-cpterm,-cprcodein, or-cprcodeoutstartup parameters.- As a database code page.
- With the
PROUTIL <db> -C CONVCHAR CONVERTcommand (although it can be used forCONVCHAR ANALYZE).
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |